package com.shop.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("sp_order_goods")
public class OrderGoods {
    private Integer id;
    private Integer order_id;
    private Integer goods_id;
    private double goods_price;
    private int goods_number;
    private double goods_total_price;


    public void setOrderId(Integer order_id) {
        this.order_id = order_id;
    }

    public void setGoodsId(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public void setGoodsPrice(double goods_price) {
        this.goods_price = goods_price;
    }

    public void setGoodsNumber(int goods_number) {
        this.goods_number = goods_number;
    }

    public void setGoodsTotalPrice(double goods_total_price) {
        this.goods_total_price = goods_total_price;
    }
}
